dosseg
.model small
.stack 100h

.data
results dw 20 dup(0)

.code
main proc
	mov ax, @data
	mov ds, ax
	
	mov ax, 0
	mov bx, 0
	mov cx, 1

loop1:
	mov dx, ax
	add dx, cx
	mov ax, cx
	mov cx, dx
	mov results[bx], dx
	add bx, 2
	cmp bx, 38
	jne loop1
	
	mov ah, 4Ch
	int 21h
main endp
end main

;output data
;0607:0000  75 EC B4 4C CD 21 01 00 02 00 03 00 05 00 08 00  
;0607:0010  0D 00 15 00 22 00 37 00 59 00 90 00 E9 00 79 01  
;0607:0020  62 02 DB 03 3D 06 18 0A 55 10 6D 1A 00 00 4E 42 
;0607:0030  4E 42 30 38 BC 02 00 00 00 00 00 00 01 00 43 56
;0607:0040  01 00 00 00 10 00 00 00 26 00 00 00 05 34 2E 4F  
;0607:0050  42 4A 00 00 01 00 00 00 0A 00 05 00 78 00 00 00  
;0607:0060  01 00 00 00 0E 00 09 00 01 00 00 00 05 34 2E 6F  
;0607:0070  62 6A 00 00 32 00 01 00 01 03 00 00 2B 4D 69 63 